package com.ruoyi.maode.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 按钮返回类
 */
@Data
public class ButtonVO implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("按钮ID")
    private Integer buttonId;

    @ApiModelProperty("按钮值")
    private String buttonName;

    @ApiModelProperty("角色ID")
    private Long roleId;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("审核人userId")
    private String userId;

    @ApiModelProperty("审核人")
    private String approveUserName;

    @Excel(name = "创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
